using Admin2025.Application.DTOs;
using Admin2025.Domain.Common;

namespace Admin2025.Application.IServices;

// 定义“用户服务”的接口
public interface IUserService
{
  Task<PagedResult<UserDto>> GetUsersPagedAsync(PagedRequest request);
  Task<UserDto?> GetUserByIdAsync(Guid userId);
  Task<IEnumerable<UserDto>> GetAllUsersAsync();

  Task<bool> UpdateUserAsync(Guid id, UpdateUserDto dto);
  Task<bool> DeleteUserAsync(Guid id);
}